/**
 * 
 */
package edu.hm.compiler.scanner.token;

/**
 * @author Saruman
 */
public interface ITokenClassAdministrator
{
    /**
     * @param tokenClass
     * @return this
     */
    ITokenClass add( String tokenName );

    /**
     * @param name
     * @return the ITokenClass for the given name, not <code>null</code>
     */
    ITokenClass getByName( String name );

    /**
     * @param tokenName
     * @return
     */
    boolean contains( String tokenName );
}
